To replace advertisements in a live stream
- Configure the encoder to transmit script commands that signal the start of an advertising break.
- Based on the connection speed of your clients, determine the pre-buffering time necessary to transition smoothly to the replacement advertisement.
- Configure the encoder to transmit a CUE_EVENT script command before the advertising break.
- Configure the encoder to transmit a Fire_Event script command at the beginning of the advertising break.
- Create a playlist that alternates between primary and secondary digital media sources according to script commands received from the encoder.
- Open the Windows Media Playlist Editor.
- Click the smil element.
- On the toolbar, click the Add Element arrow, and then click Exclusive.
- An excl element is added to the playlist under the smil element.
- Click the excl element.
- On the toolbar, click the Add Element arrow, and then click PriorityClass.
- A priorityClass element is added to the playlist under the excl element.
- Click the priorityClass element, and then in peers, type pause.
- On the toolbar, click Add Element.
- The Add Media Elements dialog box opens.
- Specify the name and location of the encoder. Repeat this step and specify the name and location of the alternate advertising source. Repeat this step again for any additional sources of advertising.
- On the toolbar, click the Save playlist button.
- Specify the name and location of the playlist file. The playlist file must use a .wsx file name extension.
- Create or edit a publishing point that uses the playlist you created in the previous section as its content source.
- Start the encoder and begin streaming your live broadcast. Check that the replacement advertisement transitions are smooth and timed correctly. If the player needs more pre-buffering time to avoid gaps and overlap, make the appropriate changes in the encoder configuration.
Related topics
© 2000-2003 Microsoft Corporation. All rights reserved.